package com.dmitriyp.movie.mapping;

import java.util.Set;

public class Movie {

    private Integer id;
    private String title;
    private Integer releaseYear;
    private Format format;
    private Set<String> stars;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getReleaseYear() {
        return releaseYear;
    }

    public void setReleaseYear(Integer releaseYear) {
        this.releaseYear = releaseYear;
    }

    public Format getFormat() {
        return format;
    }

    public void setFormat(Format format) {
        this.format = format;
    }

    public Set<String> getStars() {
        return stars;
    }

    public void setStars(Set<String> stars) {
        this.stars = stars;
    }

    @Override
    public String toString() {
        return "Movie[title: " + title + "; releaseYear: " + releaseYear + "; format: " + format + "]";
    }
}
